<!-- 1 script -->

<script setup lang="ts" name="AppSetup1">



let counter = 1;
function increment() {
  console.log("increment-- script - setup")
}

let user = {
  name: '李四',
  age: 19
}

</script>

<!-- 2 template  -->
<template>
  counter:{{ counter }}

  <div>
    <button @click="increment">点我+1</button>
  </div>
  <div>
    <div>
      {{ user.name }}
    </div>
    <div>
      {{ user.age }}
    </div>


  </div>
</template>
